home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / ebook / promsvb6.chm / f07ph01.jpg < prev    next >
Joint Photographic Experts Group Image  |  1999-04-29  |  24.7 KB  |  404x245  |  8-bit (256 colors)
   ocr: Dim withtvents fop AS CFileop Event FileCopied(file As String. DestPath As String) Private Sub orn_Load0) Set fop : New CFileup End Sub Public Sub StartCopy 1.The dient filespec As String) calls ar method. RaiseEvent f1lecopied( Private Sub cmdCopy-Clicko) - - - - - - - thisfile. thisDestPath) op.Startcopy - - -e End Sub End Sub 3. The cass returns to the client. Private. Sub Op-Filecopied (file AS String. OestPath As String) React to the event here. End Sub 2.1 The class raises an event in the dient, and waits unti the dient rinishes processing the event. The client module The class module (f ...